From 34ce17c4b372ba0149a79bbbd6d2d58bf16825ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Florian=20M=C3=BCllner?= Date: Fri, 25 Feb 2011 22:53:53 +0100 Subject: [PATCH] search-result: Use a larger icon size Increase the icon size of search results for consistency with the application view. To account for the larger icons, only display a single row of results per section. https://bugzilla.gnome.org/show_bug.cgi?id=643632 --- data/theme/gnome-shell.css | 15 +++++---------- js/ui/searchDisplay.js | 2 +- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index c7d875a13..65312383f 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -534,22 +534,17 @@ StTooltip StLabel { .icon-grid { spacing: 36px; - -shell-grid-item-size: 70px; -} - -.all-app { - padding: 16px 25px 16px 16px; - spacing: 20px; -} - -.all-app .icon-grid { -shell-grid-item-size: 118px; } -.all-app .overview-icon { +.icon-grid .overview-icon { icon-size: 96px; } +.all-app { + padding: 16px 25px 16px 16px; + spacing: 20px; +} .app-filter { font-size: 14px; diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index 485620c82..0527d8f83 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -13,7 +13,7 @@ const Main = imports.ui.main; const Overview = imports.ui.overview; const Search = imports.ui.search; -const MAX_SEARCH_RESULTS_ROWS = 2; +const MAX_SEARCH_RESULTS_ROWS = 1; function SearchResult(provider, metaInfo, terms) { -- 2.39.5